package com.lebang.mapper;

import com.lebang.configuration.datasource.DataSource;
import com.lebang.domain.CencesClick;
import com.lebang.example.CencesClickExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * CencesClickMapper继承基类
 */
@Mapper
public interface CencesClickMapper extends MyBatisBaseDao<CencesClick, Integer, CencesClickExample> {

    @DataSource("commonDB")
    CencesClick sumData(@Param("star") Integer star, @Param("end") Integer end, @Param("appStore") String appStore, @Param("category") int category, @Param("type") int type, @Param("sdkKey") Integer sdkKey, @Param("likeBrand") String likeBrand, @Param("appId") Integer appId);
    @DataSource("commonDB")
    int insertClick(CencesClick allVo);
}